import request from '@/utils/request'

/* 节水监督检查台账表 */
// 列表查询
const waterSaveCheckList = function (params = {}) {
  return request({
    url: '/zy-api/api/supervise/findList',
    method: 'post',
    data: params
  })
}

// 新增
const addWaterSaveCheck = function (params = {}) {
  return request({
    url: '/zy-api/api/supervise/insert',
    method: 'post',
    data: params
  })
}

// 修改
const editWaterSaveCheck = function (params = {}) {
  return request({
    url: '/zy-api/api/supervise/update',
    method: 'post',
    data: params
  })
}

// 删除
const delWaterSaveCheck = function (params = {}) {
  return request({
    url: '/zy-api/api/supervise/delete',
    method: 'post',
    data: params
  })
}

// 审核
const auditWaterSaveCheck = function (params = {}) {
  return request({
    url: '/zy-api/api/supervise/review',
    method: 'post',
    data: params
  })
}

export {
  waterSaveCheckList,
  addWaterSaveCheck,
  editWaterSaveCheck,
  delWaterSaveCheck,
  auditWaterSaveCheck
}